package com.gzcss.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gzcss.common.utils.PageUtils;
import com.gzcss.gulimall.product.entity.SpuInfoDescEntity;
import com.gzcss.gulimall.product.entity.SpuInfoEntity;
import com.gzcss.gulimall.product.vo.savaVo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author GGH
 * @email 1421938824@qq.com
 * @date 2022-04-15 10:27:32
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuInfo);

    void saveBeanSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);


    /**
     * 商品上架
     * @param spuId
     */
    void spuup(Long spuId);

}

